package com.employee.entity;

import java.util.Date;

/**
 * 选项实体类
 */
@Table("t_option")
public class Option {
    
    @Column("id")
    private String id;              // 主键ID
    
    @Column("name")
    private String name;            // 名称
    
    @Column("category")
    private String category;        // 所属范畴
    
    @Column("value")
    private String value;           // 值
    
    @Column("remark")
    private String remark;          // 备注
    
    @Column("create_time")
    private Date createTime;        // 创建时间
    
    // 无参构造函数
    public Option() {
    }
    
    // Getters and Setters
    public String getId() {
        return id;
    }
    
    public void setId(String id) {
        this.id = id;
    }
    
    public String getName() {
        return name;
    }
    
    public void setName(String name) {
        this.name = name;
    }
    
    public String getCategory() {
        return category;
    }
    
    public void setCategory(String category) {
        this.category = category;
    }
    
    public String getValue() {
        return value;
    }
    
    public void setValue(String value) {
        this.value = value;
    }
    
    public String getRemark() {
        return remark;
    }
    
    public void setRemark(String remark) {
        this.remark = remark;
    }
    
    public Date getCreateTime() {
        return createTime;
    }
    
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    
    @Override
    public String toString() {
        return "Option{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", category='" + category + '\'' +
                ", value='" + value + '\'' +
                ", remark='" + remark + '\'' +
                ", createTime=" + createTime +
                '}';
    }
}
